package cn.iocoder.yudao.module.biz.controller.admin.contract.autocode.result.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 编码生成记录分页 Request VO")
@Data
public class AutoCodeResultPageReqVO extends PageParam {

    @Schema(description = "规则ID", example = "14451")
    private Long partId;

    @Schema(description = "最后产生的序号")
    private Integer genIndex;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String deleted;

    @Schema(description = "创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注", example = "随便")
    private String remark;

}